import 'package:json_annotation/json_annotation.dart';

part 'order.g.dart';

@JsonSerializable()
class Order {
  Order();

  String? annexUrl;
  String? orderType;
  String? orderStatusDesc;
  String? latitude;
  num? isArrange;
  num? orderStatus;
  String? repairResource;
  String? customerPhone;
  String? orderUrgencyName;
  String? id;
  String? longitude;
  num? handleTime;
  String? updateUser;
  String? updateTime;
  String? customerName;
  String? defectAddress;
  String? suppleMemo;
  String? createDept;
  String? createTime;
  String? handleDeptId;
  String? tenantId;
  String? repairResourceName;
  String? orderCode;
  String? createUser;
  String? createUserName;
  String? electrifiedCode;
  String? planCompleteTime;
  String? faultReason;
  String? faultReasonName;
  String? handleContent;
  String? orderMemo;
  String? address;
  String? remainingTime;
  String? handleBeforImage;
  String? handleAfterImage;
  
  factory Order.fromJson(Map<String,dynamic> json) => _$OrderFromJson(json);
  Map<String, dynamic> toJson() => _$OrderToJson(this);
}
